<template>
	<view class="top">
		{{list}}
	</view>
</template>

<script>
	export default {
		name:"top-green",
		props:{
			list:{
				type: String,
				default: ''
			}
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="less" scoped>
.top{
	height: 70rpx;
	width: 100%;
	line-height: 70rpx;
	margin-left: 30rpx;
	font-size: 27rpx;
	font-weight: bold;
	white-space: nowrap;
}
.top::before{
	content: '';
	position: absolute;
	display: inline-block;
	background-color: #00c783;
	width: 6rpx;
	height: 26rpx;
	top: 24rpx;
	left: 12rpx;
	border-radius: 6rpx;
}
</style>